Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Better mark loading from file. Now using YAML so works with multiple hosts.#22

Open
barn wants to merge 2 commits into
vmware-archive:masterfrom
barn:better_mark_loading
Open

Better mark loading from file. Now using YAML so works with multiple hosts.#22
barn wants to merge 2 commits into
vmware-archive:masterfrom
barn:better_mark_loading

Conversation

@barn

@barn barn commented Aug 31, 2011

Copy link
Copy Markdown
Contributor
Load "saved" marks from YAML, so we can have per host marks, rather than
just one giant apply to all list.

[ben@laptop:~]% cat .rvc-marks.yaml
vc01.example.org: { alice: /vc01.example.org/dc01/host/alice.puppetlabs.lan/,
                                    bob:   /vc01.example.org/dc01/host/bob.puppetlabs.lan/ }
test.example.org: { data:  /vc02/dc02/datastore }

Then on vc01.example.org it will load in those two marks as CLI inception.

barn added 2 commits August 31, 2011 16:04
just one giant apply to all list.

[ben@laptop:~]% cat .rvc-marks.yaml
vc01.example.org: { alice: /vc01.example.org/dc01/host/alice.puppetlabs.lan/,
					bob:   /vc01.example.org/dc01/host/bob.puppetlabs.lan/ }
test.example.org: { data:  /vc02/dc02/datastore }

Then on vc01.example.org it will load in those two marks as CLI inception.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants