Skip to content
This repository has been 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
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

barn
Copy link
Contributor

@barn barn commented Aug 31, 2011

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