Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Any way to determine which class manages a resource?

$
0
0
Hi all, I'm looking for another way to determine if a resource is managed by puppet and which class. I can run the following but it doesn't mean that it's managed by puppet or if so, which class. Any help is appreciated!> [root@hostname1]# puppet resource file> /etc/hosts>> file { '/etc/hosts':>> ensure => 'file',>> content => '{md5}',>> ctime => '2015-12-02 15:17:09> -0700',>> group => '0',>> mode => '644',>> mtime => '2015-12-02 15:17:09> -0700',>> owner => '0',>> type => 'file',>> }

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>