On 10.05.2013 22:17, pup_userz0 wrote:
[root@puptmaster:~/manifests]#
[root@puptmaster:~/manifests]#cat 1.file.pp
file {'testfile':
         path => '/tmp/testfile',
         ensure => present,
         mode => 0640,
         content => "I'm a test file.",
}
[root@puptmaster:~/manifests]#
[root@npuptmaster:~/manifests]#rm -f /tmp/testfile
[root@puptmaster:~/manifests]#
[root@puptmaster:~/manifests]#
[root@npuptmaster:~/manifests]#puppet apply 1.file.pp
notice: /Stage[main]//File[testfile]/ensure: created
notice: Finished catalog run in 0.05 seconds
[root@puptmaster:~/manifests]#
[root@puptmaster:~/manifests]#ls -l /tmp/testfile
-rw-r----- 1 root root 16 May 10 16:07 /tmp/testfile
[root@puptmaster:~/manifests]#
[root@puptmaster:~/manifests]#

Yet I cannot run a "puppet agent --test" on the same machine.
Any ideas?

Below is the error:

root@puptmaster:~/manifests]#
[root@puptmaster:~/manifests]#puppet agent -t
info: Caching catalog for puppeta
err: Failed to apply catalog: Parameter mode failed on
File[/var/lib/puppet/reports]: The file mode specification is invalid: "488"
[root@puptmaster:~/manifests]#

Has anyone seen this kind of error before?

488 is 0750. Someone is confused here, without a look at your manifest (or configs) it's hard to say.


Regards, David



--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to