mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Making things work...
This commit is contained in:
parent
91110e2534
commit
77fce59b08
11 changed files with 137 additions and 22 deletions
13
Rakefile
13
Rakefile
|
|
@ -65,6 +65,11 @@ task :tests do
|
|||
Rake::Task[:spec].invoke
|
||||
end
|
||||
|
||||
desc 'Run dots'
|
||||
task :dots do
|
||||
ruby 'bin/dots.rb'
|
||||
end
|
||||
|
||||
namespace 'dots' do
|
||||
cmd = TTY::Command.new
|
||||
|
||||
|
|
@ -82,4 +87,12 @@ namespace 'dots' do
|
|||
~/.dotfiles/puppet/production/manifests/site.pp'
|
||||
cmd.run(command)
|
||||
end
|
||||
|
||||
desc 'Run Puppet (noop)'
|
||||
task :run_puppet_noop do
|
||||
command = 'bundle exec puppet apply \
|
||||
--environmentpath ~/.dotfiles/puppet \
|
||||
~/.dotfiles/puppet/production/manifests/site.pp --noop'
|
||||
cmd.run(command)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue