How Can I detect why augeas doesn't treat them ?
How can I know if it is a lens failure ?
Does augeas have a debug mode ?
2011/8/25 Rob McBroom
> On Aug 25, 2011, at 9:35 AM, Vincent wrote:
>
> > yes it was as root, why the ls /etc doesn't return the sudoers ?
>
> On Aug 25, 2011, at 9:23 AM,
Hello John,
Class rsyslog::stats does not override any definition already declared in
rsyslog, reason because I was not sure of doing a correct usage of class
inheritance. rsyslog was the simpler example, but I have a module was
suffering a serious problem of order (it's related to production code
On Aug 25, 5:37 pm, Nigel Kersten wrote:
>
> I may be reading your request incorrectly, but it almost sounds like you
> don't really want to have the Puppet CA at all, and just want to generate
> certificates manually and distribute them yourself.
>
> Would launching all your masters with --no-c
I think i'm missing something small...
So, I've got a couple custom facts, this is the one I'm dealing with now:
if Facter.value("compute_node") == "true"
Facter.add("lsf_queues") do
setcode do
hostname = Facter.value("hostname")
Hi,
for some (mistyped?) bad package names the aptitude provider does not fail.
Example manifest:
Package {
provider => 'aptitude',
ensure => 'latest',
}
package {"qt4":
ensure => latest,
}
# puppet agent --test
...
notice: /Stage[main]//Package[qt4]/ensure: ensure changed 'purged'
Hi folks,
I have the following resource on my test environ:
exec { "/bin/sed -i 's/^SELINUX=enforcing/SELINUX=disabled/'
/etc/selinux/config":
path => [ '/usr/bin', '/bin' ],
onlyif => "/bin/grep '^SELINUX=enforcing' /etc/sysconfig/selinux
2>/dev/null",
logoutput => true,
}
Whenever
I think you may have a typo in your resource:
/bin/sed -i 's/^SELINUX=enforcing/SELINUX=disabled/'
should have '-e' after '-i' I believe.
On Fri, Aug 26, 2011 at 8:03 AM, Frederiko Costa wrote:
> Hi folks,
>
> I have the following resource on my test environ:
>
> exec { "/bin/sed -i 's/^SELINUX=
On 08/26/2011 11:03 AM, Frederiko Costa wrote:
> Hi folks,
>
> I have the following resource on my test environ:
>
> exec { "/bin/sed -i 's/^SELINUX=enforcing/SELINUX=disabled/'
> /etc/selinux/config":
> path => [ '/usr/bin', '/bin' ],
> onlyif => "/bin/grep '^SELINUX=enforcing' /etc/sys
My 2c: I avoid the augeas provider whenever possible. I've got it in one
manifest, but it's a pain to troubleshoot. I would either assemble the file
from fragments using the concat module or drop prebuilt fragments in
/etc/sudoers.d/. You may have to create the directory, but recent sudoers
rele
Or just push a new file, that's what we do.
On Fri, Aug 26, 2011 at 8:16 AM, Frank Sweetser wrote:
> On 08/26/2011 11:03 AM, Frederiko Costa wrote:
> > Hi folks,
> >
> > I have the following resource on my test environ:
> >
> > exec { "/bin/sed -i 's/^SELINUX=enforcing/SELINUX=disabled/'
> /etc/
Hi folks,
Thanks for the quick help
Aaron - the -i does an in place modification. If I run on the command-line,
works fine. If I don't use -i, I would have to use some sort of redirection
and replace the original file. I will try placing -e as well for testing
sake
"-i[SUFFIX], --in-place[=SUFFIX
I'm clear on what -i does, but I thought -e was also required. I'm not a
sed expert, but last time I left out -e things went rather badly.
On Fri, Aug 26, 2011 at 8:25 AM, Frederiko Costa wrote:
> Hi folks,
>
> Thanks for the quick help
>
> Aaron - the -i does an in place modification. If I run
I will give a try and get back to you soon. You may be correct.
-fred
On Fri, Aug 26, 2011 at 8:30 AM, Aaron Grewell wrote:
> I'm clear on what -i does, but I thought -e was also required. I'm not a
> sed expert, but last time I left out -e things went rather badly.
>
> On Fri, Aug 26, 2011
> Hi folks,
>
> I have the following resource on my test environ:
>
> exec { "/bin/sed -i 's/^SELINUX=enforcing/SELINUX=disabled/'
/etc/selinux/config":
> path => [ '/usr/bin', '/bin' ],
> onlyif => "/bin/grep '^SELINUX=enforcing' /etc/sysconfig/selinux
2>/dev/null",
> logoutput => true
Is there an announce only list for Puppet at this point?
-- cwebber
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+
I tried both suggestions: egrep and adding the -e switch on sed, but none
worked. I'm going to try augeas ...
-fred
On Fri, Aug 26, 2011 at 8:31 AM, Kinzel, David wrote:
> > Hi folks,
> >
> > I have the following resource on my test environ:
> >
> > exec { "/bin/sed -i 's/^SELINUX=enforcing/S
Hi folks,
The question I have is regarding to Service resource on Red Hat systems. I
have the following:
service { [ "anacron", "atd" ]:
ensure => stopped,
enable => false,
hasrestart => true,
hasstatus => true,
}
It runs fine, disabling the service while the sys
Hello,
I've have a bunch of Solaris sparse root zones. The share /opt/csw
with the global zone. Because of this, attempts to install a package
that roots in that directory will fail. How do I get puppet to notify
and fail if the package is missing, rather than attempt to install, in
such a zone? f
Hi all,
I've got a custom type with a single custom provider. I've got
enabled pluginsync in both client and server. When I run the puppet
agent in the client it syncs the type and the provider and properly
executes them. But if I execute the agent again it will tell me
err: Could not run Puppet
On Fri, Aug 26, 2011 at 8:35 AM, Christopher Webber wrote:
> Is there an announce only list for Puppet at this point?
>
>
http://groups.google.com/group/puppet-announce
Only final releases, you won't see the RC churn here.
--
You received this message because you are subscribed to the Google Gr
Hi folks,
for the next user looking for help ... augeas did the trick
augeas { "selinux":
context => "/files/etc/sysconfig/selinux/",
changes => [ "set SELINUX disabled" ],
}
debug: Augeas[selinux](provider=augeas): Augeas version 0.8.1 is installed
debug: Augeas[selinux](provider=augeas
Can I do this in an external node?
parameters:
foo:
- { id: 0, Name: Doug }
And access it with:
notice ("DATA=$foo[0]['Name']")
?
Doug
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-use
On Fri, Aug 26, 2011 at 8:30 AM, Matt wrote:
> I've have a bunch of Solaris sparse root zones. The share /opt/csw
> with the global zone. Because of this, attempts to install a package
> that roots in that directory will fail. How do I get puppet to notify
> and fail if the package is missing, rat
Hi folks,
The question I have is regarding to Service resource on Red Hat systems. I
have the following example:
service { [ "anacron", "atd" ]:
ensure => stopped,
enable => false,
hasrestart => true,
hasstatus => true,
}
It runs fine, disabling the service while
I could use some help. I am a newbie with puppet, and am trying to
learn it and use it here at the office. I have created 2 CentOS 5.5
machines ( puppet.1on1.com - puppetmaster and puppetclient.1on1.com -
which will be the client that I control.) When I attempt to connect
my client to the master
Following up on my own question, I'm closer but not there:
The fact no longer breaks a puppet run.
On a node, facter -p shows my fact. It is not, however, in the report sent
to my master, nor in the yaml file for the host.
However, if i run puppet manually (puppet agent -t), once it finishes, it
I must be asking hard questions.
On Fri, Aug 26, 2011 at 10:04 AM, Douglas Garstang
wrote:
> Can I do this in an external node?
>
> parameters:
> foo:
> - { id: 0, Name: Doug }
>
> And access it with:
>
> notice ("DATA=$foo[0]['Name']")
>
> ?
>
> Doug
>
--
Regards,
Douglas Garstang
PuppetNewbie wrote:
>I could use some help. I am a newbie with puppet, and am trying to
>learn it and use it here at the office. I have created 2 CentOS 5.5
>machines ( puppet.1on1.com - puppetmaster and puppetclient.1on1.com -
>which will be the client that I control.) When I attempt to con
PuppetNewbie wrote:
>I could use some help. I am a newbie with puppet, and am trying to
>learn it and use it here at the office. I have created 2 CentOS 5.5
>machines ( puppet.1on1.com - puppetmaster and puppetclient.1on1.com -
>which will be the client that I control.) When I attempt to con
Puppet.features.root? will now correctly report whether Puppet is
running with elevated administrative privileges on Windows, instead of
always returning true (#8662). Management of permissions and
ownership of Puppet's internal files was also disabled as part of this
change until the general prob
It's here. Puppet Labs Announces Puppet Dashboard version 1.2.0.
This is a significant upgrade over the 1.1.x series, with new
features, prettier views and some all-in-all awesomeness. Thanks to
those who filed bugs, submitted patches and helped with the RC
process.
Major Highlights:
--
*
Hi Nan,
On Aug 25, 2:20 am, Nan Liu wrote:
> Should we still use OEL? If we change the the value to OracleLinux,
> besides manifests changes, we also need to update types and provider
> that are currently configured to :confine(OEL).
I would prefer to change it to OracleLinux as it is no longer
On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote:
> Hi all,
>
> I've got a custom type with a single custom provider. I've got
> enabled pluginsync in both client and server. When I run the puppet
> agent in the client it syncs the type and the provider and properly
> executes them.
33 matches
Mail list logo