Hi, I'll take a look at this, but I don't currently have a Chef Server for testing - once I have found one then I'll have a proper look at this and send you a reply.
Cheers Richard. On 20 October 2015 at 11:16, Gowri LN <[email protected]> wrote: > Hi , > > I have a chef server setup and I am trying to deploy a yaml with > chef_server_url value set. Can anyone please provide a link to a sample > working yaml ? > > I have looked at > http://brooklyn.incubator.apache.org/v/latest/yaml/chef/creating-blueprints.html > but I have been unsuccessfull. > > and also when I set chef_mode as server , I get an error saying > unrecognised. > > Can anyone help me with this ? > > > Blueprint that I have tried : > > name: Chef with Server > services: > - type: > chef:mysql > chef_mode: autodetect > chef_server_url: http://my_chef_server_url > launch_run_list: [ "mysql::server" ] > launch_attributes: > mysql: > # these attrs are required by the mysql cookbook under node['mysql'] > server_root_password: p4ssw0rd > server_repl_password: p4ssw0rd > server_debian_password: p4ssw0rd > # many others are attrs are supported by the cookbook and can be > passed here... > > # how to determine if the process is running and how to kill it > # (supported options are `service_name` and `pid_file`; normally you > should just pick one. > # here we use the pid_file because the service_name varies, mysql on > centos, mysqld on ubuntu!) > #service_name: mysqld > pid_file: /var/run/mysqld/mysqld.pid > location: > jclouds:aws-ec2: > region: us-west-2 > osFamily: UBUNTU > osVersionRegex: 12.04 > inboundPorts: [22,3306,443] > > Thanks, > Gowri
