Skip to content

Instantly share code, notes, and snippets.

@ohadlevy
Last active September 29, 2015 04:27
Show Gist options
  • Select an option

  • Save ohadlevy/1546708 to your computer and use it in GitHub Desktop.

Select an option

Save ohadlevy/1546708 to your computer and use it in GitHub Desktop.
$hosts = foreman(item => 'hosts',
search => 'last_report > "1 week ago" and hostgroup = Clients',
per_page => 1000)
vpn_access{$hosts: ensure => enabled}
@pankajagarwal
Copy link
Copy Markdown

where is this function vpn_access defined ? I am trying to use something similar and its' getting complicated as i am not using any hostgroup in my setup and the value is coming as nil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment