Hi all,
This is my current situation:
Master A has:
- port 8140
- puppet server 3.2.4
- puppetdb terminus 1.6.2
Master B has:
- port 8141
- puppet server 3.7.4
- puppetdb terminus 1.6.2
PuppetDB has:
- puppetdb 1.6.2
Client has:
- puppet client 3.2.4
And my node manifest is:
*node 'marc-test.demo.lan' {*
* @@file { '/tmp/foo/bar':*
* ensure => present,*
* } *
*}*
Where '/tmp/foo' does not exist.
So, given the above information, if I issue the following command in the
client, everything works as expected:
*[[email protected] ~]# puppet agent -t --environment marc_villacorta
--masterport 8140*
*...*
*Info: Applying configuration version '1424959728'*
*Notice: Finished catalog run in 19.06 seconds*
But when I try the same against the 3.7.4 master the managed node attempts
to realize the exported resource:
*[[email protected] ~]# puppet agent -t --environment marc_villacorta
--masterport 8141*
*...*
*Info: Applying configuration version '1424959869'*
*Error: Could not set 'present' on ensure: No such file or directory -
/tmp/foo/bar at
5:/etc/puppet/environments/marc_villacorta/manifests/nodes/marc-test.demo.lan.pp*
*Error: Could not set 'present' on ensure: No such file or directory -
/tmp/foo/bar at
5:/etc/puppet/environments/marc_villacorta/manifests/nodes/marc-test.demo.lan.pp*
*Wrapped exception:*
*No such file or directory - /tmp/foo/bar*
*Error: /Stage[main]//Node[marc-test.demo.lan]/File[/tmp/foo/bar]/ensure:
change from absent to present failed: Could not set 'present' on ensure: No
such file or directory - /tmp/foo/bar at
5:/etc/puppet/environments/marc_villacorta/manifests/nodes/marc-test.demo.lan.pp*
*Notice: Finished catalog run in 98.65 seconds*
I have tried to update the client to 3.7.4 but I get the same result.
My puppet infrastructure is about 4 years old maybe I have configs with
deprecated stuff ...
Any idea? A bug perhaps?
Cheers
Marc
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/87387bcd-9cdd-44cb-98b1-c9bc03822a0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.