On May 24, 2012, at 8:05 PM, macmichael01 <[email protected]> wrote:
> Hello,
>
> I am running puppet 2.7.11 on my puppet client and puppet master.
> I generated and signed my certs but for some reason my configurations
> are not
> being applied on my client box.
>
> When running the following command it appears to be pulling the
> configurations
> but does not apply them. Is there a special command that I need to
> run
> initially to make this happen?
>
> puppetd --server puppet.example.com --waitforcert 60 --test
> info: Retrieving plugin
> err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
> retrieve information from environment production source(s)
> puppet://puppet.example.com/plugins
> info: Caching catalog for roxann
> info: Applying configuration version '1337314498'
> notice: Finished catalog run in 0.08 seconds
>
> Here is the configuration that I am trying to apply:
>
> /etc/puppet/manifests/site.pp
> node default {
> file { "/srv/test_file.txt":
> owner => 'root',
> group => 'root',
> mode => '0777',
> }
> }
>
> Thanks in advance!
Try adding an 'ensure => file,' attribute to the beginning of the file resource
block. I believe puppet's default behavior is to *not* create a resource unless
ensure is used to specify it.
--
Peter Bukowinski
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.