Minor fixes

This commit is contained in:
vic 2012-11-12 18:04:12 +04:00
parent 1db547295a
commit 1e47ef0cc8
4 changed files with 12 additions and 7 deletions

View File

@ -7,8 +7,6 @@ class openstack::repo::yum (
$gpgcheck = 1,
$mirrorlist = absent,
$rhel_location = undef,
$mirrorlist = absent,
$rhel_location = undef,
)
{

View File

@ -38,10 +38,18 @@ class selinux::config(
$sestatus = '0'
# workaround bugfix (http://projects.puppetlabs.com/issues/4466)
case $::osfamily {
'RedHat': {
$facter_selinux_path = '/usr/lib/ruby/site_ruby/1.8/facter/selinux.rb'
}
'Debian': {
$facter_selinux_path = '/usr/lib/ruby/vendor_ruby/facter/selinux.rb'
}
}
exec { "patch-facter-selinux":
command => "sed -i 's|proc/self/attr/current\") !|proc/self/attr/current\") rescue \"kernel\\\0\" !|' ${facter_selinux_path}",
unless => "grep -q 'rescue \"kernel\\\0' ${facter_selinux_path}",
command => "sed -i 's|proc/self/attr/current\") !|proc/self/attr/current\") rescue \"kernel\\\\0\" !|' ${facter_selinux_path}",
unless => "grep -q 'rescue \"kernel' ${facter_selinux_path}",
}
if $mode == 'disabled' and $::selinux_current_mode == 'permissive' {

View File

@ -38,7 +38,6 @@ swift::storage::loopback { '2':
swift::storage::node { '2':
mnt_base_dir => '/srv/node',
weight => 1,
manage_ring => true,
zone => '2',
storage_local_net_ip => $swift_local_net_ip,

View File

@ -97,8 +97,8 @@ node keystone {
# we are binding keystone on all interfaces
# the end user may want to be more restrictive
bind_host => '0.0.0.0',
log_verbose => $verbose,
log_debug => $verbose,
verbose => $verbose,
debug => $verbose,
catalog_type => 'sql',
}