New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coreos-cluster

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coreos-cluster - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

5

index.js

@@ -15,3 +15,6 @@ var Cluster = require('./lib/cluster').Cluster;

* @param {string} [options.discoverServiceUrl] url for an existing cluster's discover service
* @param {string} [options.keyname] ssh keyname; if not provided will create a new key 'coreos-cluster'
* @param {string} [options.keyname] ssh keyname; if not provided will create a new key 'coreos-cluster'
* @param {object} [options.update] options for CoreOS updates
* @param {string} [options.update.group] optional update group (e.g. stable, beta, UUID for a channel)
* @param {string} [options.update.server] optional omaha endpoint URL for updates
*

@@ -18,0 +21,0 @@ * @param callback callback with err, results

17

lib/cloud-config.js

@@ -65,3 +65,18 @@ var async = require('async'),

template.coreos.fleet.metadata = 'provider=rackspace,region=' + options.region;
// CoreOS update settings
if (options.update) {
// The update group. Can be "master", "stable", "alpha", or a
// UUID for a custom group
if (options.update.group) {
template.coreos.update.group = options.update.group;
}
// The omaha endpoint URL which will be queried for updates.
if (options.update.server) {
template.coreos.update.server = options.update.server;
}
}
if (options.monitoringToken) {

@@ -100,2 +115,2 @@ template.coreos.units = template.coreos.units.concat(_.cloneDeep(monitoringTemplate));

buildTemplate();
};
};

@@ -21,2 +21,3 @@ var async = require('async'),

this.privateNetwork = options.privateNetwork;
this.update = options.update || {};

@@ -159,2 +160,3 @@

monitoringToken: self.monitoringToken,
update: self.update,
discoveryServiceUrl: self.discoveryServiceUrl,

@@ -161,0 +163,0 @@ region: self._credentials.region

{
"name": "coreos-cluster",
"version": "3.0.1",
"version": "3.0.2",
"description": "Create a coreos cluster",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -53,2 +53,6 @@ ## coreos-cluster [![Build Status](https://secure.travis-ci.org/kenperkins/coreos-cluster.png?branch=master)](http://travis-ci.org/kenperkins/coreos-cluster) [![NPM version](https://badge.fury.io/js/coreos-cluster.png)](http://badge.fury.io/js/coreos-cluster)

monitoringToken: 'your-monitoring-token',
update: {
group: '0a809ab1-c01c-4a6b-8ac8-6b17cb9bae09',
server: 'https://customer.update.core-os.net/v1/update/'
},
credentials: {

@@ -55,0 +59,0 @@ username: 'your-user-name',

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc