How to correctly set puppet attributes with AppD?

Hello,
I'm trying to add a value to a puppet attribute within AppD. The value is an array and should look something like this ['ntp1.testlab.local'] for puppet to work. The problem is after AppD processes it, it ends up looking like this '["ntp1.testlab.local"]' in the node's manifest, which doesn't work. I've tried several variations with no joy. Can anyone please show me how to correctly set puppet variables within AppD?
From the node manifest created by AppD:
[root@ar-syslog-tlab-01 appd_nodes]# grep "Puppet_ntp_v3_1_2_servers =" /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-LON4FRQT.pp
  $Puppet_ntp_v3_1_2_servers = '["ntp1.testab.local"]'
From stdout and stderr log available on VM at /tmp/25/CG_Puppet_ntp_v3.1.2_AI-REMEDIATE_NODE/task.stdlog.
- !ruby/object:Puppet::Util::Log
      level: !ruby/sym err
      tags:
        - err
      message: "Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '['; expected ']' at /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-IEU4RJWH.pp:17 on node centos-lon4frqt"
      source: Puppet
If I edit the node's manifest to read
       $Puppet_ntp_v3_1_2_servers = [ 'ntp1.testab.local' ]
it works fine.
Any tips would be greatly appreciated.
Thanks.

If it is a bug, you maybe have a workaround by adding a script task in the execution plan the Blueprint as the first task to edit /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-LON4FRQT.pp to modify the value of $Puppet_ntp_v3_1_2_servers, and then the rest tasks will get the correct value format for $Puppet_ntp_v3_1_2_servers.

Similar Messages

  • How can i set  "Createdby" attribute  When using Custom JheadStart Security

    Hello
    We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object?
    thanks

    See a similar question at History Attributes when using Custom Authentication Type

  • I have family plan of 5 iphones and all them have the same apple id, the q. is how I can set each one with their own apple id? please advise...

    I have family plan of 5 iphones and all them have the same apple id, the q. is how I can set each one with their own apple id? please advise...

    See How to Stop Sharing an Apple ID.
    (Note that I am affiliated with that site, and some pages contain ads).

  • I have 2 Apple iPads with the same Apple account name.  How do I set up one with a different Apple account name?

    I have 2 iPads with the same Apple account name.  How do I set up one with a different Apple name?

    Why is the reason you want a different apple id on them? Need more details to make sure we don't accidently set up the self destruct feature and destory the planet.

  • How can I set up iCloud with my Apple ID

    i bought an Ipad on an rummage sale.  The iCloud is still registered under the previous owner.  I do not know their password (nor them) and an "find my ipad" is turned on.  How can I set up iCloud with my Apple ID?

    Restore it through iTunes
    Regards,

  • Setting camera attributes with the PCI-1405

    I have the PCI-1405 Imaq card.  I was wondering how I set camera attributes like gain and exposure time.  Every time I try to use the set camera attribute VI I get an error message saying the attribute is not valid.

    khsay--
          Installing the driver will allow the framegrabber (1405) to communicate with the computer.  I want to verify that you are using Measurement and Automation Explorer (MAX) to test the sanp/grab features of your camera.  This will allow you to directly interact with the hardware.
          If you are, and this is where you are getting the extract image error.  First double-check that you know what kind of communication standard the camera uses (for instance, CCIR or RS170) and make sure that this is selected in MAX. 
          The camera might not be using a known standard, in which case you will need a camera file that tells the computer and framegrabber how to interpret the camera's information and signal.  You can look in MAX and see if the camera is listed, if it is the camera file is   If not, you can try going to www.ni.com/camera and see if you can get a camera file there. If not you will need to try contacting the manufacturer to see if they have one, and if not you will need to create one using the camera file generator from the ni.com/camera. 
         Just let us know if this information helped to solve the issue and if not reply back so that we can help.  Also, in the future if you have a new issue you might consider posting in a new thread.
    Regards,
    John H.
    Applications Engineer
    National Instruments

  • How do I set up Kontakt with Mainstage 2?

    I'm new to mainstage. I love my kontakt plug ins and wanna use them in conjuction with Mainstage sounds and have the ability to add compression eq and all that stuff to it. How do I set up Kontakt to work in Mainstage?

    That depends on how you want to connect, and what iPad you have.
    Do you have a WiFi only iPad?
    If you are in the US, do you have a AT&T GSM iPad, or a Verizon CDMA iPad?

  • How to change set type attribute of a product

    Hi ;
    I created additional fields for products by using "COMM_ATTRSET". It created a table and functions but I dont know how to change this additional attributes.I cant use these attribute set functions because i dont know fragment_id yet. I think there must be a function encapsulates them.
    Is there any BAPI to change set type attributes?
    PS: In forums , I found an FM "COM_PRODUCT_MAINTAIN_MULT_API" but I think it hasnt been used anymore in CRM7.0
    Thanks

    Thanks for your reply ;
    but FM 'COM_PRODUCT_UI_MAINTAIN' doesnt have any generic import parameters to send my data to it in form of  newly created attribute set type table "ZPRODUCT".
    I want to set some fields of ZPRODUCT and i need to send them in this structure,  this table has column FRG_ID , if you set an additional  parameter for the first time , it generates new GUID..I think  'COM_PRODUCT_UI_MAINTAIN'  generates this GUID but i dont know how to use it.
    Can you give an example about using this FM?

  • How do you set up TC with cable internet?

    I know this may sound ******** but if I have a coaxial cable coming out of my wall and the is no coaxial cable input on the TC, how do you set it up without using the crappy router I got from TW cable?  Is there a coaxial cable to ethernet adapter?

    but if I have a coaxial cable coming out of my wall and the is no coaxial cable input on the TC, how do you set it up without using the crappy router I got from TW cable?
    Suggest that you ask TW to provide you with a simple modem.....not a router. The TC is also a router. You don't need two routers and it just makes things more complicated.
    Is there a coaxial cable to ethernet adapter?
    No. You need to connect the coax cable to a modem. The modem provides an Ethernet signal to the TC.

  • How can I set family sharing with my mom living in Europe?

    hi, i just bought new iphone for my mom who is living in Europe and I wanted to set family sharing with her to share pictures but I can't because I live in USA ... is there any way how to set it? Thanx

    Seeing how itunes store is not international, cause every locale has to comply with different set of laws - you probably can't use family sharing feature, but you can use photosharing.
    http://support.apple.com/en-us/HT202786

  • How do I set up email with hotmail???

    Hi,
    How do I set up an e-mail account with hotmail on my Touch???
    Where do I find out which servers are required??
    Is there a step by step process?

    Hi,
    As far as i'm aware the only way this can be done is via Safari. The mail tool does not currently support Hotmail.
    Hope this Helps!
    Adinik10

  • How can i set ring tone with flash light?

    Dear All,
    How can i set old phone ring tone with flash light?
    Thanks & Regards,
    Jafar Sadhik.K

    Hi Friend,
    Go to Settings>>General>>Acessibility>> Flash Light, then turn it on.
    Hope it helps

  • How do I set up iPad with airport express to stream music to stereo without internet connection?

    how do i set up iPad and airport express to stream music to stereo without using internet connection.

    Your 4th gen iPad does have the necessary software to connect to the AirPort Express but not to administer it. To do the later, you would need to install the AirPort Utility applet.
    You said that your iPad can "see" the AirPort's wireless network, but can't connect. What happens exactly when you attempt to do so? Do any of your other wireless devices have any trouble connecting to the Express? Did you configure the Express for a closed network ... that is, not to broadcast its Network Name?

  • HOW TO EASILY SET UP WIFI WITH TH N95 AND A MAC WI...

    Hi this is how to connect a mac running os x 10.4 (tiger) to a n95's network and succsesfully share the macs internet via airport (wifi)
    first (on mac) go to:
    system preferences then sharing on sharing click services and turn personal web sharing on (tick the box)
    next go to internet and on the drop down menu next to "share your conection from" select built in Ethernet (or what ever you use to access net)
    now tick the box that says airport and click airport options
    copy in as follows:
    network name: -what ever you want-
    channel: automatic
    tick enable encryption (WEP)
    password: -use a word thats 13 characters long-
    Wep key length: 128
    click ok and click start!
    now on n95 go to:
    settings>connection>access points
    then go options and new access point
    connection name: use any name you like
    data bearer: wireless LAN
    Wlan networkname: search for network > select the network that you no is yours
    network status: puplic
    Wlan network mode: infrastructure
    !!!!!!!!!before you go to wlan security mode push options!!!!!!!!!!
    then advanced settings then IPV4 settings and enter in the following numbers
    phone ip: 10:0:2:5
    subnet mask: 255:255:255:0
    default gateway: 10.0.2.1
    primary dns address: 10:0:2:1
    !!!!!before you enter secondery go back to you mac and go system prefs and then network on network it should say:
    location: automatic
    show: network status
    from there copy your ip adress into your phones "secondary DNS address"
    (you ip is located after built in ethernet where it says ip then somthing like 211:243 ect.)
    now on the n95 go back until you get to where it said wlan security mode
    wlan security mode: WEP
    wlan security settings:
    WEP Key in use: (hash)1
    authentication tyoe: shared
    WEP key setting's:
    WEP encryption: 128 bits
    WEP key format: ASCII
    WEP KEY: - the 13 charictor password types in on the mac-
    now go back until you you reach your main n95's menu
    select tools then WLAN WIZ.
    the network you created on the mac should apear as known select it then start web browsing!!!
    hope it works for you as it did for me thanks

    Hi ogigacz
    On Leopard they hid away the APN field under advanced configuration options for bluetooth modems.
    I don't know whether you have found this workaround:
    http://n95blog.com/using-the-nokia-n95-as-modem-for-a-mac-over-bluetooth-on-vodafone-live-in-holland...
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How can i set up emails with header and signature

    HI all
    I have an email account that is work only, all emails sent have a graphic header on the top, and finish with my name and company contact details.
    I would like this done automatically, Currently I drag the header in, which is a pain when I send a lot. I have set up the signature but when I reply to an email, it puts the signature at the bottom of the whole email and not just the reply. Is there a way of making my life easier.
    Russ

    For Apple Mail, you can set this up using what is called "stationery"; it's off to the top right of the message composition window when you're sending a message. Click that, and select the stationery you want to fill in. See the mail documentation and see the "Save As Stationery..." options in the menu.
    Mac OS X Server doesn't AFAIK have a mechanism for automatically inserting this sort of stationery stuff at the mail server; the message contents are largely determined locally at the Apple Mail or other mail client.
    Here's [Apple Mail Stationery Pro Tip|http://www.apple.com/pro/tips/mail_templates.html]. As for selecting this by default, I don't know that that's available without some local customizations. There are ways to cause a particular template to open by adding it into the dock or the Finder sidebar, but I don't know of an integrated way to automatically and always select a default stationery for your messages.
    See if the folks over in the [Apple Mail forums|http://discussions.apple.com/forum.jspa?forumID=1338] might know more about that.
    And here are [more details than you probably want|http://developer.apple.com/Mac/library/documentation/AppleApplications/Con ceptual/MailArticles/Articles/stationery.html] on how this stuff is constructed.

Maybe you are looking for

  • Why does iTunes keeps resetting itself to default settings randomly??

    Downloaded three upgrades so far, and sometimes I turn on my computer to find that iTunes has all default settings, forgotten my library's name and lists. Upgrading/reinstalling did not solve the issue. It really ****** me off to "reprogram" the iTun

  • Unable to connect local server

    Hello, Since upgrading to Lion and now with Mountain Lion, I lost the ability to connect to my Mac Mini that I use as a local file server. When I try to connect via Finder I get the message:PS: The "Share Screen" function works just fine! Via >GO>Con

  • How to check a field in Message mapping wether it is Non Numeric?

    Hi XI Guru's I am totally new to XI world, Kindly help hopw can I chexk a field while doing message mapping whether the field is non numeric or not. I dont find any built in function for the same. If it is using UDF can some body help me in providoin

  • Batch Scheduler Workspace

    Hi All, I have scheduled Financial Reports from workspace for the Vendors (Vendors is a dimension in OTL), but for some vendors I am getting the following error: error during JRMP connection establishment; nested exception is: java.net.SocketExceptio

  • How much ram will my iMac hold?

    How do I find out what the max RAM my Mac will hold and what type of RAM it takes?