Skip to content

Instantly share code, notes, and snippets.

@mattikus
Created April 25, 2012 22:49
Show Gist options
  • Save mattikus/2494090 to your computer and use it in GitHub Desktop.
Save mattikus/2494090 to your computer and use it in GitHub Desktop.
> bcfg2-info -Q $HOME/repos/bcfg2 buildfile /etc/multipath.conf foo
Loading experimental plugin(s): Packages
NOTE: Interfaces subject to change
Reloading Packages plugin
Reloading Packages plugin
Handled 202 events in 1.783s
Handled 216 events in 0.084s
Handled 225 events in 0.110s
Handled 58 events in 0.033s
Handled 3 events in 0.000s
Handled 4 events in 0.003s
/var/lib/bcfg2
{%python
from Bcfg2 import Options
setup = Options.OptionParser({'repo': Options.SERVER_REPOSITORY})
setup.parse([])
repo_path = setup['repo']
print repo_path
%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment