Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Getting error while trying to create an Azure Linux VM using Puppet

$
0
0

I am trying to create a Azure VM using module msopentech-microsoftazure  https://forge.puppetlabs.com/msopentech/microsoftazure

I have created puppet master in Windows Azure and connected to it using putty.

I am using below sample command,

$puppet azure_vm create --management-certificate pem-or-pfx-file-path --azure-subscription-id=your-subscription-id \
--image b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-13_04-amd64-server-20130501-en-us-30GB --location 'west us'
--vm-name vmname --vm-user username --password ComplexPassword  --puppet-master-ip 198.62.195.5

Actual Command:

puppet azure_vm create \
--azure-subscription-id= sub_id \
--image b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-13_04-amd64-server-20130501-en-us-30GB \
--location 'west us' \
--vm-name rk*****\
--vm-user a*****\
--password Password \
--puppet-master-ip some_ip

When I run this command I find error as below.

Error: Could not parse application options: cannot load such file -- highline/import

Screenshot:



Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>