Rupesh
Rupesh

Reputation: 1

Chef solo with Bazaar version control system

I created recipes in chef solo with following command

bzr init

bzr branch sftp://username@ip/~/branch-name

up to bzr init it will work but second command it requires password for username is there any method or option that i can use to send password with it or any way that does not require password

Upvotes: 0

Views: 95

Answers (2)

AmanicA
AmanicA

Reputation: 5505

You can append the login info to ~/.bazaar/authentication.conf eg.:

# Identity on foo.net
[foo.net]
scheme=ftp
host=foo.net
user=joe
password=secret-pass

See this for more info: http://doc.bazaar.canonical.com/developers/authentication-ring.html

Upvotes: 0

jelmer
jelmer

Reputation: 2450

You should be able to add the password to the URL:

bzr branch sftp://username:password@ip/~/branch-name

Upvotes: 2

Related Questions