I need a file called /etc/cron.hourly/~cronalive. I don't like the ~ but don't
have real choice here.
So I defined the following resource:
file{'/etc/cron.hourly/~cronalive':
....
}
But if fails with:
Error: Could not set 'file' on ensure: user cronalive20161110-32243-1wx31rr
doesn't exist at .../manifests/node.pp:35
I think it resolve ~cronalive using shell resolution and looks for the homedir
of this user. Is there any work around for that ? Adding a \ create a file
whose name starts with a \, using path => '/etc/cron.hourly/~cronalive' gives
the same result.
--
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/45C5718D-14EA-4C2F-BBE0-04AB750075AE%40orange.fr.
For more options, visit https://groups.google.com/d/optout.