On Sep 17, 3:54 pm, Peter Meier <peter.me...@immerda.ch> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > A single manifests works fine, but this is not the only module I have
> > where I set permissions using the sysconfig::permissions module.
>
> Ah, now I as I read your problem better: The error indicates more that
> you name two resources with the same name/alias. And you can't and
> shouldn't do that!
> Actually your code should imho not work on 2.6.9 either and yes it looks
> like 2.7 got more strict.
>
> Anyway, you shouldn't do what you do currently, this is quite dangerous!
>
> Note: Puppet automagically sets the execute flag on directories, so if
> you'd like to have the directory 0750 and the files 0640, then simply
> set the mode of the directory to 0640 and to recurse. If you would like
> to set the files to 0600, then you have to manage them invidually,
> because the file provider of puppet does (currently) not (yet) support
> that feature.
>
> > I can rewrite them, (and probably have to, to make it work again) but
> > then it seems that the ' name' option in the file type is going to be
> > obsoleted as it doesn't work anymore.
>
> Unlikely, name is quite an important attribute for all resources. It is
> more that you end up having two different resources with the same name
> or alias. And that should really not be.  It looks like a serious bug
> _got_ fixed in 2.7
>
> ~pete
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk50prIACgkQbwltcAfKi3+vjQCfboeXmfrBJzDS1/5NSsO8McDB
> pwIAn2QOSWif3fZVkCEvLt/se5BoeoFL
> =SOll
> -----END PGP SIGNATURE-----

I just read the 2.7.3 changelog in detail and it's bug 8596 that was
fixed and caused this to not work anymore.
they also concluded that the documentation was incorrect and based on
that document I created my modules :-(

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

Reply via email to