diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-01 21:39:40 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-01 21:39:40 +0200 |
| commit | 1f0bad02a8b859a8fbea706d804ac706d387d5c3 (patch) | |
| tree | 5e57fe0a4b9c3bd67acb619a6e995d59debac862 /examples | |
| parent | 197c3d39b740a69ff29afcf93bd9139cec828aa2 (diff) | |
remove
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/plain_ruby/example.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/plain_ruby/example.rb b/examples/plain_ruby/example.rb deleted file mode 100755 index 45c9fb3..0000000 --- a/examples/plain_ruby/example.rb +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env ruby -# Example: Plain Ruby script — no Rake, no bundler required. -# -# Run with: -# ruby config.rb --dry # dry run, no changes made -# ruby config.rb --debug # verbose output -# ruby config.rb # apply configuration -# -# Requires rcm to be installed as a gem, or adjust the path below: -# require_relative '../../lib/dsl' -begin - require 'rcm' -rescue LoadError - require_relative '../../lib/dsl' -end - -configure do - given { hostname is :earth } - - file '/tmp/test/wg0.conf' do - requires file '/etc/hosts.test' - manage directory - from template - 'content with <%= 1 + 2 %>' - end - - file '/etc/hosts.test' do - line '192.168.1.101 earth' - end -end |
