yes it works once removed.

> Le 10 nov. 2016 à 16:13, Rob Nelson <[email protected]> a écrit :
> 
> I don't have an answer, but did you verify that when you remove the tilde, 
> the resource applies properly? If so, this does sound like a bug of some sort.
> 
> 
> Rob Nelson
> [email protected] <mailto:[email protected]>
> On Thu, Nov 10, 2016 at 9:16 AM, Fabrice Bacchella 
> <[email protected] <mailto:[email protected]>> wrote:
> 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/A326124B-ACEA-43FB-A3A9-37107DD749F0%40orange.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to