Hi all, Are global defaults defined in site.pp writable in type definitions?
Maybe I could explain my question better with an example: I have this options set as default for yumrepo in site.pp: $ grep -i -A6 yumrepo site.pp Yumrepo { enabled => 1, enablegroups => 1, gpgcheck => 0, gpgkey => absent, metadata_expire => 43200, } and this repo: yumrepo { "pic": baseurl => "http://server/mrepo/local-PIC-noarch/RPMS.pic/", descr => "pic", name => "pic", enabled => absent, } *i also tried with "absent" and ' absent' . but after running puppet in one node: # /usr/bin/ruby /usr/sbin/puppetd --server=gridinstall.pic.es --test info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run info: Sent transaction report in 0.53 seconds notice: Finished catalog run in 124.59 seconds The repo does not disappear: # cat pic.repo [pic] name=pic baseurl=http://server/mrepo/local-PIC-noarch/RPMS.pic/ gpgcheck=0 enablegroups=1 metadata_expire=43200 so, default option in site.pp is mandataory for the type? TIA, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---