Skip to content

Instantly share code, notes, and snippets.

@kaithar
Created December 13, 2013 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaithar/7949487 to your computer and use it in GitHub Desktop.
Save kaithar/7949487 to your computer and use it in GitHub Desktop.
ak = state("%s_keywords"%(self.state_name))
ak.file.managed(
"/etc/portage/package.accept_keywords/%s" % ( self.state_name ),
source="salt://roles/%s/%s" % ( self.state_name,
(type(self.keywords_file) == str) and keywords_file or "accept_keywords"
),
user="root", group="root", mode="0644", template="jinja")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment