Ask Your Question

How to manage gsettings with puppet?

asked 2014-09-08 17:03:20 -0600

beeg gravatar image

I'm new to puppet, and am struggling to figure out a way to manage gsettings with puppet. I've looked far and wide, and the best I can come up with is this module: , however, when I use its example code in my site.pp, the agents return with the following error:

Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type gnome::gsettings at /etc/puppet/manifests/site.pp:24

I suspect that the issue is that I don't know how to install the module (I couldn't find any instructions). So I just did a git clone of the project and dropped it into its own folder in /etc/puppet/modules/puppet-gnome.

Any tips on what I might be doing wrong or an easier way to manage gsettings via puppet?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-08 21:29:44 -0600

lavaman gravatar image

It would need to be in a folder named /etc/puppet/modules/gnome, not puppet-gnome. puppet-foo is a common github naming scheme for puppet modules, and most, if not all, of them need the puppet- removed.

You should also look into the module/class naming scheme to help you deal with issues like this in the future:

edit flag offensive delete link more


Thanks... that was just the tip I needed.

beeg gravatar imagebeeg ( 2014-09-10 10:34:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-08 17:03:20 -0600

Seen: 464 times

Last updated: Sep 08 '14