Le 09/04/14 à 15:15, jcbollinger téléscripta :
> Other reports suggest so, but there are other possibilities, such as the
> graph not going with the version of the manifests and/or data presented.
That's why I provided a complete vagrant project allowing to easily and
confidently test such things.
> I am not inclined to set up a test environment for your code, but all past
> reports -- of which there have been several -- are consistent that resource
> references cannot be expressed in Hiera data. And that's perfectly
> sensible.
OK.
As it is very easy with vagrant, I did destroy the VM and restart from
scratch (I am using a debian base box from puppetlabs, with puppetlabs
and plopopertaions puppet modules) and added two more resources
(postgresql package and service) and the dependency are present in the
graphs files:
https://github.com/gnubila-france/puppet-vagrant-playground/blob/master/graphs/relationships.png
In case anyone is interested in checking or testing this I added the graphs
files (.dot and .png) to the github repository
https://github.com/gnubila-france/puppet-vagrant-playground
The README should be sufficient, only vagrant and builder/ruby/rubygems
(or puppet and r10k) are needed, and most of the things are documented
and automatized, there is just a documented workaround for an annoying
bug with VirtualBox 4.3.10.
> John
Best,
Baptiste
--
\,,/_[-_-]_\,,/
There was a young lady named Riddle
Who had an untouchable middle.
She had many friends
Because of her ends,
Since it isn't the middle you diddle.