How does your packer template look like, especially the puppet-masterless
part.

On Wed, Apr 3, 2019, 19:29 vishanth bharadwaj <[email protected]>
wrote:

> Hi Rickard, thanks for the reply.
> I am also not able to access the default $packer_build_name.
>
> For the config file --> vi /etc/puppet/puppet.conf
>
> I have following records present.
> [main]
> logdir = ***
> rundir = ***
> ssldir = ***
>
> [agent]
> classfile = ****
> localconfig = ****
>
> I do not have a factdir is that the reason?
>
> On Wednesday, April 3, 2019 at 12:45:52 AM UTC-7, Rickard von Essen wrote:
>>
>> What's your full puppet-masterless config? Can you access the default
>> fact $packer_build_name?
>>
>> On Tue, Apr 2, 2019 at 10:20 PM vishanth bharadwaj <[email protected]>
>> wrote:
>>
>>> Hi All,
>>> I pass arguments like:
>>> "facter" : {"foo":"bar"}
>>> for puppet masterless
>>> My OS containes puppet in it as specified in the readme in packer.io
>>>
>>> when I go and type
>>> notify{$operatingsystemrelease:}
>>>
>>> I get 6.10 (using centos)
>>>
>>> notify{$foo:}
>>> I should be getting bar where as I get undefined.
>>>
>>> Any help is appreciated. Thanks
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>> IRC: #packer-tool on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Packer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/3d5e9311-f36a-49e4-854f-a8b207f5fe74%40googlegroups.com
>>> <https://groups.google.com/d/msgid/packer-tool/3d5e9311-f36a-49e4-854f-a8b207f5fe74%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/cc49caa1-63a1-415f-867d-357ee53f798b%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/cc49caa1-63a1-415f-867d-357ee53f798b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt-z%3DF9hAg4CUpE2y%3D2GK48tq6X-3aG0Tq7_MZngo%3D2V9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to