Package org.platformlayer.ops.instances

Examples of org.platformlayer.ops.instances.InstanceBuilder.addChild()


    instance.hostPolicy.allowRunInContainer = true;
    addChild(instance);

    {
      PackageDependency serverPackage = instance.addChild(PackageDependency.build("mysql-server"));
      // mysql-server-5.1 mysql-server/root_password_again password
      // mysql-server-5.1 mysql-server/root_password password
      // mysql-server-5.1 mysql-server-5.1/start_on_boot boolean true
      // mysql-server-5.1 mysql-server-5.1/postrm_remove_databases boolean false
      // mysql-server-5.1 mysql-server/error_setting_password error
View Full Code Here


    // TODO: Is there a window of vulnerability when first booting a machine?
    // Do we need to secure it so that mysql doesn't listen remotely initially (or isn't running)?
    // Maybe use mysql-server-5.1 mysql-server-5.1/start_on_boot boolean true

    instance.addChild(PackageDependency.build("mysql-client"));

    instance.addChild(MysqlServerBootstrap.build());

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/bind_all.cnf")));
    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/skip_name_resolve.cnf")));
View Full Code Here

    // Do we need to secure it so that mysql doesn't listen remotely initially (or isn't running)?
    // Maybe use mysql-server-5.1 mysql-server-5.1/start_on_boot boolean true

    instance.addChild(PackageDependency.build("mysql-client"));

    instance.addChild(MysqlServerBootstrap.build());

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/bind_all.cnf")));
    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/skip_name_resolve.cnf")));

    // Collectd not restarting correctly (doesn't appear to be hostname problems??)
View Full Code Here

    instance.addChild(PackageDependency.build("mysql-client"));

    instance.addChild(MysqlServerBootstrap.build());

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/bind_all.cnf")));
    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/skip_name_resolve.cnf")));

    // Collectd not restarting correctly (doesn't appear to be hostname problems??)
    // instance.addChild(CollectdCollector.build());
View Full Code Here

    instance.addChild(PackageDependency.build("mysql-client"));

    instance.addChild(MysqlServerBootstrap.build());

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/bind_all.cnf")));
    instance.addChild(SimpleFile.build(getClass(), new File("/etc/mysql/conf.d/skip_name_resolve.cnf")));

    // Collectd not restarting correctly (doesn't appear to be hostname problems??)
    // instance.addChild(CollectdCollector.build());

    {
View Full Code Here

      endpoint.dnsName = model.dnsName;

      endpoint.tagItem = model.getKey();
      endpoint.parentItem = model.getKey();

      instance.addChild(endpoint);
    }

    instance.addChild(ManagedService.build("mysql"));
  }
}
View Full Code Here

      endpoint.parentItem = model.getKey();

      instance.addChild(endpoint);
    }

    instance.addChild(ManagedService.build("mysql"));
  }
}
View Full Code Here

    InstanceBuilder instance = InstanceBuilder.build(model.dnsName, this, model.getTags());
    instance.hostPolicy.allowRunInContainer = true;
    addChild(instance);

    instance.addChild(PackageDependency.build("squid3"));

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/squid3/squid.conf")));

    instance.addChild(ManagedService.build("squid3"));
View Full Code Here

    instance.hostPolicy.allowRunInContainer = true;
    addChild(instance);

    instance.addChild(PackageDependency.build("squid3"));

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/squid3/squid.conf")));

    instance.addChild(ManagedService.build("squid3"));

    // instance.addChild(CollectdCollector.build());
View Full Code Here

    instance.addChild(PackageDependency.build("squid3"));

    instance.addChild(SimpleFile.build(getClass(), new File("/etc/squid3/squid.conf")));

    instance.addChild(ManagedService.build("squid3"));

    // instance.addChild(CollectdCollector.build());

    {
      PublicEndpoint endpoint = injected(PublicEndpoint.class);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.